-- GENERATED SPELL FOR [Stitched Horror] --


function spell0_8543(pUnit, Event) --@Mighty Blow,n/a--
pUnit:FullCastSpellOnTarget(14099,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8543', 629, 1)
end

function Sorts_8543(pUnit, Event)
local choix_sorts_8543 = math.random(0, 0)
if choix_sorts_8543 == 0 then
pUnit:RegisterEvent('spell0_8543', 1, 1)
end
end

function mob8543_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8543', math.random(1500, 3000), 1)
end

function mob8543_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8543_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8543_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8543, 1, 'mob8543_Action')
RegisterUnitEvent(8543, 2, 'mob8543_Leave')
RegisterUnitEvent(8543, 3, 'mob8543_Kill')
RegisterUnitEvent(8543, 4, 'mob8543_Die')
